import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import { FormsModule } from '@angular/forms';
import { NzIconModule } from 'ng-zorro-antd/icon';
import { NzButtonModule } from 'ng-zorro-antd/button';
import { NzModalModule } from 'ng-zorro-antd/modal';
import { NzMenuModule } from 'ng-zorro-antd/menu';
import { NzInputModule } from 'ng-zorro-antd/input';
import { NzBreadCrumbModule } from 'ng-zorro-antd/breadcrumb';


import { MainComponent } from './views/main/main.component';
import { MensComponent } from './views/mens/mens.component';
import { LearnComponent } from './views/learn/learn.component';
import { LifeComponent } from './views/life/life.component';
import { MessageBoardComponent } from './views/message-board/message-board.component';
import { HomeComponent } from './views/home/home.component';


@NgModule({
  declarations: [
    MainComponent,
    MensComponent,
    LearnComponent,
    LifeComponent,
    MessageBoardComponent,
    HomeComponent,
  ],
  imports: [
    CommonModule,
    FormsModule,
    RouterModule,
    NzIconModule,
    NzButtonModule,
    NzModalModule,
    NzInputModule,
    NzBreadCrumbModule,
    NzMenuModule
  ],
})
export class MainModule { }

export { MainComponent } from './views/main/main.component';
